package org.example;

import java.util.Scanner;


public class Main {


    public static void main(String[] args) {
        String input = getUserInput();

        Expression expression = new Expression(input);

        expression.printResult();

    }

    private static String getUserInput() {
        Scanner sc = new Scanner(System.in);
        return sc.nextLine();
    }

}